projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873a024
)
paned: Initialize max_position
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 24 Jan 2016 05:22:31 +0000
(
00:22
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 24 Jan 2016 05:22:31 +0000
(
00:22
-0500)
As pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=608865
max_position should be set to G_MAXINT.
gtk/gtkpaned.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpaned.c
b/gtk/gtkpaned.c
index 8ea97df005c795c1a3e6079ba807bc5a8b184eec..e141eeee065ff9925187c197a6387cd0f8cdb68a 100644
(file)
--- a/
gtk/gtkpaned.c
+++ b/
gtk/gtkpaned.c
@@
-1921,6
+1921,7
@@
gtk_paned_init (GtkPaned *paned)
priv->in_recursion = FALSE;
priv->handle_prelit = FALSE;
priv->original_position = -1;
+ priv->max_position = G_MAXINT;
priv->handle_pos.x = -1;
priv->handle_pos.y = -1;